.upload-form-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.upload-form-container::-webkit-scrollbar {
  width: 6px;
}

.upload-form-container::-webkit-scrollbar-track {
  background: transparent;
}

.upload-form-container::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

.upload-form-container:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
}

.upload-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.config-section {
  width: 100%;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  padding: 4px 0px;
}

.config-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.config-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.config-card-header {
  margin-bottom: 24px;
}

.config-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.strategy-toggle {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toggle-buttons {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 8px;
}

.toggle-button {
  flex: 1;
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.toggle-button:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.toggle-button.active {
  background: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.9);
}

.submit-section {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.submit-button {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.9);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Input Styles */
.number-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.number-input input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.number-input input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .config-grid {
    grid-template-columns: 1fr;
  }

  .config-card {
    padding: 16px;
  }
}

/* Add new styles for disabled state */
.config-section.disabled {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}

.config-section.disabled::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  cursor: not-allowed;
}

.submit-section.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.config-section > .config-card {
  margin-top: 24px;
}

.config-section > .config-grid + .config-card {
  margin-top: 32px;
}
